Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1SelectDataCollection<S,T> Class / C1SelectDataCollection<S,T> Constructor / C1SelectDataCollection<S,T> Constructor(IEnumerable,Func<IReadOnlyList<S>,Int32,T>,Func<T,S>)
The source.
Select function which converts a source item into an item of this collection.
Function that gives the source item from the collection item. Used to insert and replace operations.

In This Topic
    C1SelectDataCollection<S,T> Constructor(IEnumerable,Func<IReadOnlyList<S>,Int32,T>,Func<T,S>)
    In This Topic
    Initializes a new instance of the C1SelectDataCollection<S,T> class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal source As IEnumerable, _
       ByVal select As Func(Of IReadOnlyList(Of S),Integer,T), _
       Optional ByVal selectBack As Func(Of T,S) _
    )
    public C1SelectDataCollection<S,T>( 
       IEnumerable source,
       Func<IReadOnlyList<S>,int,T> select,
       Func<T,S> selectBack
    )

    Parameters

    source
    The source.
    select
    Select function which converts a source item into an item of this collection.
    selectBack
    Function that gives the source item from the collection item. Used to insert and replace operations.
    See Also